package com.woniuxy.service;

import com.woniuxy.dto.goodsGeneralAndSmallAndBrand.GoodsBrandDto;
import com.woniuxy.dto.goodsGeneralAndSmallAndBrand.PageGoodsBrandDto;
import com.woniuxy.dto.goodsGeneralAndSmallAndBrand.UpdateGoodsBrandDto;
import com.woniuxy.entity.GoodsBrand;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.param.goodsGeneralAndSmallAndBrand.AddGoodsBrandParam;
import com.woniuxy.param.goodsGeneralAndSmallAndBrand.DeleteBrandParam;
import com.woniuxy.param.goodsGeneralAndSmallAndBrand.ListGoodsBrandParam;
import com.woniuxy.param.goodsGeneralAndSmallAndBrand.UpdateGoodsBrandParam;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author zcx, ftl, gr, rhs
 * @since 2021-12-31
 */
public interface GoodsBrandService extends IService<GoodsBrand> {

     /*
      新增品牌信息
     */
    GoodsBrandDto saveBrandInfo(AddGoodsBrandParam addGoodsBrandParam);


    /*
    分页+模糊查询
     */
    PageGoodsBrandDto pageFind(ListGoodsBrandParam listGoodsBrandParam);

    /*
    修改品牌信息
     */
    Boolean updateBrandInfo(UpdateGoodsBrandParam updateGoodsBrandParam);

    /*
    删除品牌信息
     */
    Boolean deleteGoodsBrand(List<Integer> goodsBrandIds);

    GoodsBrandDto getBrandById(Integer id);
}
